<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>欢迎登录</title>
    <link href="/static/css/icons.css" rel="stylesheet"/>
    <link href="/static/css/bootstrap.css" rel="stylesheet"/>
    <link href="/static/css/plugins.css" rel="stylesheet"/>
    <link href="/static/css/main.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/static/css/login.css">
</head>

<body class="login-page">
<div id="login" class="animated bounceIn box">
    <ul id="myTab" class="nav nav-tabs nav-justified bn mytag">
        <li><a href="{% url 'login' %}">登录</a></li>
        <li><a href="{% url 'register' %}" style="background-color: #fff!important;">注册</a></li>
    </ul>

    <div class="login-wrapper input_a">
        <div class="wel">欢迎登陆</div>

        <div id="myTabContent" class="tab-content bn">
            <div class="tab-pane fade active in" id="log-in">
                <!-- 提交登陆信息的表单 -->
                <form class="form-horizontal mt10" action="" method="post" id="login-form" role="form">{% csrf_token %}
                    <div class="form-group" style="margin-bottom: 24px!important;margin-top: 4px!important;">
                        <div class="col-md-12">
                            <!-- 用户名的输入控件 -->
                            <input type="text" name="username" id="username" class="form-control left-icon"
                                   placeholder="用户名" required="required"> <i
                                class="ec-user s16 left-input-icon"></i>
                        </div>
                    </div>
                    <div class="form-group pas">
                        <div class="col-md-12">
                            <input type="password" name="password" id="password" class="form-control left-icon"
                                   placeholder="密码" required="required"> <i class="ec-locked s16 left-input-icon"></i>
                            <span class="help-block"><a href="javascript:alert('请联系管理员重置密码')"
                                                        style="cursor: pointer; text-decoration: none;"><small>忘记密码?</small></a></span>
                        </div>
                    </div>
                    <div class="seperator error">
                    <!-- 用来展示错误信息的标签 -->
{#                        <span style="color: #ff0000; font-weight: bold; font-size: 14px;">账号或密码错误</span>#}

                </div>
                    <div class="form-group">
                        <div class="col-md-12 col-sm-12 col-xs-12">
                            <button class="btn btn-success col-md-offset-2 col-md-8 button" id="log" type="button">登录</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<script src="/static/js/pace.min.js"></script>
<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/bootstrap.js"></script>
<script src="/static/js/jquery.icheck.js"></script>
<script src="/static/js/jquery.validate.js"></script>
<script src="/static/js/additional-methods.min.js"></script>
<script src="/static/js/login.js"></script>
</body>

</html>